#ifndef PROFESSOR_H
#define PROFESSOR_H
#include <QString>
#include <QDataStream>

using namespace std;

class Professor
{
public:
    Professor();
    Professor(const QString profName);
    Professor(QString name, QString office, QString officeHours, QString phoneNumber, QString email);
    QString getName() const;
    QString getOffice() const;
    QString getOfficeHours() const;
    QString getPhoneNumber() const;
    QString getEmail() const;
    void setName(QString newName);
    void setOffice(QString newOffice);
    void setOfficeHours(QString newOfficeHours);
    void setPhoneNumber(QString newPhoneNumber);
    void setEmail(QString newEmail);

private:
    QString name;
    QString office;
    QString officeHours;
    QString phoneNumber;
    QString email;
};

QDataStream &operator<<(QDataStream &out, const Professor &data);
QDataStream &operator>>(QDataStream &in, Professor &data);

#endif
